projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1bde62
)
(decode_coding_charset): Check type of an element of
author
Kenichi Handa
<handa@m17n.org>
Wed, 3 Dec 2008 05:48:11 +0000
(
05:48
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Wed, 3 Dec 2008 05:48:11 +0000
(
05:48
+0000)
vector VALIDS.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index acdb92214c237a7756da12ba362d0fb29a7e01e3..8890eb188ce1355c50c3070b2b2adfecb5db011b 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-5160,7
+5160,7
@@
decode_coding_charset (coding)
code = c;
val = AREF (valids, c);
- if (
NIL
P (val))
+ if (
! INTEGERP (val) && ! CONS
P (val))
goto invalid_code;
if (INTEGERP (val))
{